<template>
	<view>
		<video :src="url" controls :poster="img"></video>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				url:"",
				img:""
			}
		},
		onLoad(e) {
			console.log(e)
			this.url=e.url
			this.img=e.img
		}
	}
</script>

<style>
	view{
		width: 100%;
		height: 100vh;
		display: flex;
		align-items: center;
	}
	video{
		width: 750rpx;
		height: 400rpx;
	}
	page{
		background-color: #000000;
	}
</style>
